package cn.rongdao.jrkabao.ui.financing.adapter;

import android.view.View;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerViewHolder;

import cn.rongdao.jrkabao.bean.cashadvance.CashAdvanceBean;
import cn.rongdao.jrkabao.ui.financing.uicomponent.ItemFinancingUIComponent;

/**
 * Created by jack on 2017/9/8
 */

public class FinancingViewHolder extends FRBaseRecyclerViewHolder<CashAdvanceBean.FinancialListBean> {

    private ItemFinancingUIComponent itemFinancingUIComponent;

    public FinancingViewHolder(View view) {
        super(view);
        itemFinancingUIComponent = (ItemFinancingUIComponent) view;
    }

    @Override
    protected void onItemDataUpdated(CashAdvanceBean.FinancialListBean financingBean) {
        itemFinancingUIComponent.setContent(financingBean);
    }
}
